<?php
/**
 * Created by PhpStorm.
 * User: Rain
 * Date: 2019/8/29
 * Time: 13:59
 */

namespace Rain\Admin\Services\Business\Controllers;


use App\Http\Controllers\Controller;
use App\Services\Business\Common\Rely;
use App\Services\Business\Common\SingleCase;

class Base extends Controller
{
    use SingleCase, Rely;

    /**
     * 清除默认条件
     *
     * @return mixed
     */
    protected function clearWhere(){
        $data = $this -> data;

        unset($data['page']);

        return $data;
    }
}
